<template>
  <!-- <child :title="msg" :count="10" :flag="true"></child>
  <button @click="changeMsg">点击按钮修改值</button> -->
  <!-- <child :items ="arr"></child>
  <button @click="changeArr">点击按钮修改值</button>
   -->
<child :user="infor" :items="[1,2,3,4]"></child>
</template>
<script setup>
import { ref } from "vue";
import Child from "./Child.vue";
let infor = {
    name:"翟利辉",
    num:"2430150127",
    age:"21"
}
// let msg=ref("你好,翟利辉的页面")
// const changeMsg = () => {
//     msg.value="title修改的值"
// };
// let arr = ref([1,2,3,4])
// const changeArr = ()=>{
//     arr.value = [5,6,7,8]
// }
</script>

<style>

</style>